package com.currency.core;

import com.currency.task.Job;

public class Main {
	public static void main(String args[]){
		PrintQueue printQueue = new PrintQueue();
		for (int i = 0; i < 10; i++) {
			Job job =new Job(printQueue);
			Thread thread = new Thread(job);
			thread.setName("task"+i);
			thread.start();
		}
	}

}
